package com.jake.spring.domain;

import lombok.Data;
import org.springframework.beans.factory.BeanNameAware;

@Data
public class AwarePerson implements Person, BeanNameAware {

    private String beanName;

    private Integer pid;

    private String name;

    private String address;

    @Override
    public void setBeanName(String name) {
        this.beanName = name;
    }
}
